package com.fita.admin.service.data.impl;

import com.demo2do.core.persistence.annotation.Dao;
import com.fita.admin.dao.CountryDao;
import com.fita.admin.service.DataServiceImpl;
import com.fita.admin.service.data.CountryService;
import com.fita.entity.data.Country;
import org.springframework.stereotype.Service;

/**
 * 
 * @author dan
 *
 */
@Service("countryService")
public class CountryServiceImpl extends DataServiceImpl<Country> implements CountryService{
    
    @Dao
    private CountryDao countryDao;

    /*
     * (non-Javadoc)
     * @see com.fita.admin.service.data.CountryService#load(java.lang.String)
     */
    public Country load(String code) {
        return countryDao.load(code);
    }

}
